#ifndef __MODEL_PANEL_H__
#define __MODEL_PANEL_H__

#include "Common.h"
#include "Model.h"
#include "ModelDraw.h"

class ModelPanel: public wxPanel
{
public:
    ModelPanel(wxFrame* parent);

    bool setup();
    bool teardown();

    void setModelDraw(ModelDraw* drawModel);

    void OnMouseMove(wxMouseEvent &event);
    void OnPaint(wxPaintEvent &event);
protected:
    wxFrame* m_parent;
    Model* m_model;
    ModelDraw* m_drawModel;

    DECLARE_EVENT_TABLE();
};

#endif